﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}formui.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}admin-all.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}base.css"/>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-1.7.2.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-ui-1.8.22.custom.min.js"></script>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}ui-lightness/jquery-ui-1.8.22.custom.css" />    
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery.ui.datepicker-zh-CN.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-ui-timepicker-addon.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-ui-timepicker-zh-CN.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}Validform_v5.3.2_min.js"></script>
    <style type="text/css">
        .auto-style1 {
            height: 26px;
        }
    </style>
    
    
</head>
<body>
    <div class="alert alert-info">当前位置<b class="tip"></b>销售机会管理<b class="tip"></b>新建销售机会</div>
    &nbsp;<a class="btn" id="Button3" href="{:U('lst',array('p'=>$p))}">返回销售机会列表</a>
    <form name="main_form" method="POST" action="__SELF__"  class="demoform" enctype="multipart/form-data">
  <input type="hidden" name="id" value="{$data['id']}"/> 
  <input type="hidden" name="p" value="{$p}"/> 
        <table class="tb" id="top" cellspacing="1" cellpadding="3" width="100%">
            <tr>
                <td class="alert alert-info">编号</td>
                <td>
                    {$data['chance_id']}

                </td>
                <td class="alert alert-info">机会来源</td>
                <td>
                    {$data['chance_from']}

                </td>
            </tr>
            <tr>
                <td class="alert alert-info">客户名称</td>
                <td>
                    {$data['client_name']}
                </td>
                <td class="alert alert-info">成功几率(1-100)</td>
                <td>
                  {$data['ok_probable']}
                </td>
            </tr>
            <tr>
                <td class="alert alert-info">概要</td>
                <td>
                    {$data['outline']}
                </td>
            </tr>
            <tr>
                <tr>
                <td class="alert alert-info">联系人</td>
                <td>
                    {$data['contact_name']}

                </td>
                <td class="alert alert-info">联系人电话</td>
                <td>
                  {$data['contact_phone']}

                </td>
            </tr>
            <tr>
                <td class="alert alert-info">机会描述</td>
                <td>
                    {$data['description']}
                </td>
            </tr>
            <tr>
                <td class="alert alert-info">创建人名称</td>
                <td >
                    {$data['create_name']}
                </td>
                <td class="alert alert-info">创建时间</td>
                <td>
                    {$data['create_time']|date=\"Y-m-d H:i:s\",###}
                </td>
            </tr>
            <tr>
                <td class="alert alert-info">指派给</td>
                <td >
                    <select name='give_name' datatype="*1-16" errormsg="请选择指派人！">
                   <option value='' >选择指派给谁</option>
                    <volist name='adata' id='v' >
                       
                       <option value="{$v['username']}" >{$v['username']}</option>
                    </volist>
                    </select>
                </td>
                <td class="alert alert-info">指派时间</td>
                <td>
                    <input  type="text" id='give_time' name="give_time" value="" datatype="*1-99" errormsg="请选择时间！" />
                </td>
            </tr>
            <tr>
                <td colspan="99" align="center">
                    <input class="btn" type="submit" class="button" value=" 确定 " />
                    <input class="btn" type="reset" class="button" value=" 重置 " />
                </td>
            </tr>
        </table>
    </form>

</body>
</html>
<script>
$( "input[name='give_time']" ).datetimepicker();
</script>

<script>
    $(".demoform").Validform();
</script>